package xcmg.device.service.vo.abnormal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

@Data
public class AbnormalOutDetailVO {
    private String id;

    private String abnormalNo;

    private String materialsNo;

    private String materialsDes;

    private String materialsTypeId;

    private String materialsType;

    private String unit;

    private BigDecimal qty;

    private Integer status;

    private BigDecimal realQty;

    private String creatorPartId;

    private String creatorPartName;

    private Integer errorRow;

    private String note;

    private String remark;

    private String orgId;

    private BigDecimal enableNum;

    private BigDecimal intentionNum;

    private BigDecimal deliveryNum;

    private String locationCode;

    private String locationDesc;

    private BigDecimal price;

    private BigDecimal totalPrice;

    private String stockLocation;

    private String stockUserName;

    private Integer rownum;

    /**
     * 已过账数量
     */
    private BigDecimal postAmount;

    private String voucherNo;
    /**成本单价*/
    private BigDecimal costPrice;
    /**成本小计*/
    private BigDecimal costSubtotal;

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}